package com.qf.main.content.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
@author chengqiang
@Create 2024-01-20-10:33
@Description:
*/
/**
 * 首页轮播图
 */
@ApiModel(description="首页轮播图")
@Data
@TableName(value = "home_page_slideshow")
public class HomePageSlideshow {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="主键")
    private Integer id;

    /**
     * 轮播图标题
     */
    @TableField(value = "slideshow_name")
    @ApiModelProperty(value="轮播图标题")
    private String slideshowName;

    /**
     * 轮播图文件路径
     */
    @TableField(value = "slideshow_file_path")
    @ApiModelProperty(value="轮播图文件路径")
    private String slideshowFilePath;

    /**
     * 轮播图文件状态
     */
    @TableField(value = "del_status")
    @TableLogic
    @ApiModelProperty(value="轮播图文件状态")
    private Integer delStatus;

    /**
     * 轮播图排序优先级，数值越大越靠前
     */
    @TableField(value = "priority")
    @ApiModelProperty(value="轮播图排序优先级，数值越大越靠前")
    private Integer priority;

    public static final String COL_ID = "id";

    public static final String COL_SLIDESHOW_NAME = "slideshow_name";

    public static final String COL_SLIDESHOW_FILE_PATH = "slideshow_file_path";

    public static final String COL_DEL_STATUS = "del_status";

    public static final String COL_PRIORITY = "priority";
}
